import request from '@/utils/request'

export function getTasks(data) {
  return request({
    url: '/backup/web/service_info_task/get_tasks',
    method: 'post',
    data
  })
}
export function addTask(data) {
  return request({
    url: '/backup/web/service_info_task/add_task',
    method: 'post',
    data
  })
}
export function updateTask(data) {
  return request({
    url: '/backup/web/service_info_task/update_task',
    method: 'post',
    data
  })
}
export function deleteTask(data) {
  return request({
    url: '/backup/web/service_info_task/delete_task',
    method: 'post',
    data
  })
}
export function updateStatus(data) {
  return request({
    url: '/backup/web/service_info_task/update_status',
    method: 'post',
    data
  })
}
